package com.iflytek.yly.jetpackdemo.databinding;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import com.iflytek.yly.jetpackdemo.BR;
import com.iflytek.yly.jetpackdemo.R;

public class SimpleTextViewDemo3Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ActivityDatabindingDemo3Binding activityDatabindingDemo3Binding =
                DataBindingUtil.setContentView(this,R.layout.activity_databinding_demo3);


        activityDatabindingDemo3Binding.setVariable(BR.eventHandleListener,new EventHandleListener(this));
        activityDatabindingDemo3Binding.setEventHandleListener(new EventHandleListener(this));

    }
}